package com.afdor.rws.event.driven.api;

import com.afdor.rws.event.driven.entities.Event;

/**
 * 事件对象持有者
 *
 * @author 悭梵
 * @date Created in 2018-12-12 16:37
 */
@FunctionalInterface
public interface EventHolder {

    /**
     * 返回事件对象
     *
     * @return
     */
    Event getEvent();
}
